# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=morxcoinpwn
pkgver=1.0
pkgrel=3
groups=('blackarch' 'blackarch-cracker')
pkgdesc='Mass Bitcoin private keys brute forcing/Take over tool released.'
url='http://www.morxploit.com/tools/'
arch=('any')
license=('custom:unknown')
depends=('bash' 'morxkeyfmt' 'bitcoin-daemon')
source=('http://web.archive.org/web/20160308214118/http://www.morxploit.com:80/morxtools/MorXCoinPwn')
#source=('http://www.morxploit.com/morxtools/MorXCoinPwn')
sha512sums=('b5e4a83927284922f514b14e684b423ac876c1a903d3b893660188c194302c208684d9b2dd8858ed46fdc1dbd541f5623f72b0a9e646ce4f1c9ee4c127852903')

prepare() {
  sed -i 's|-f keyfmt|-f /usr/bin/morxkeyfmt|' MorXCoinPwn
}

package() {
  install -Dm 755 MorXCoinPwn "$pkgdir/usr/bin/$pkgname"
}

